package com.keymozy.state;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RespData {
    private String code;
    private String msg;
    private Object src;

    public RespData(Code c,Object src) {
        this.src = src;
        this.code = c.getCode();
        this.msg = c.getMsg();
    }
}
